package com.tianquan.PaginationPlugin;/**
 * @author starsea
 * @date 2024-09-28 下午4:55
 */

import java.util.List;

/**
 *@BelongsProject: uploaddemo
 *@BelongsPackage: com.tianquan.PaginationPlugin
 *@Author: tianquan
 *@CreateTime: 2024-09-28  16:55
 *@Description: 测试
 *@Version: 1.0
 */
public class PageInfo<T> extends Page{

    private List<T> list;

    private Long total;

    public void setList(List<T> list) {
        this.list = list;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public long getTotal() {
        return total;
    }

    public PageInfo(List<T> list, Long total) {
        this.list = list;
        this.total = total;
    }

    public PageInfo() {
    }
}
